package com.copc.common.config;

import java.util.ResourceBundle;

public class Config {
     public static Object object = new Object();
     public static Config config = null;
     public static ResourceBundle rb = null;
     public static final String File_Name = "copc";
   
     public Config(){
    	    rb = ResourceBundle.getBundle(File_Name);
     }
     
     public static Config getInstance(){
    	 synchronized(object){
    		 if(config == null){
    			 config = new Config();
    		 }
    		 return config;
    	 }
     }
     
 	public String getValue(String key) {
		return (rb.getString(key));
	}

}
